package com.he.architecture.dao;

import com.he.architecture.common.dao.LogicDAO;
import com.he.architecture.entity.CustomerOrder;

import java.util.List;

public interface CustomerOrderDao extends LogicDAO<CustomerOrder,Long> {
    List<CustomerOrder> getCustomerOrdersByShopId(Long shop_id);

    CustomerOrder getCustomerOrderByCustomerIdAndOrderTypeAndShopId(Long cus_id,Integer orderType,Long shop_id);
}
